package com.jichangxiu.server.platform.entity.dto;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

/**
 * PlatformRoleQueryDto:
 *
 * @author Jcx
 * @create 2023-03-26 9:27
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "角色实体")
public class PlatformRoleQueryDto {

    @Schema(description = "角色ID")
    private String roleId;

    @Schema(description = "角色编码")
    private String roleNo;

    @Schema(description = "角色标识")
    private String roleCode;

    @Schema(description = "角色名称")
    private String roleName;

    @Schema(description = "数据范围（1：全部数据权限 2：自定数据权限 3：本部门数据权限 4：本部门及以下数据权限）")
    private String dataScope;

    @Schema(description = "备注")
    private String remark;

    @Schema(description = "状态（false停用 true正常）")
    private Boolean status;

    @Schema(description = "显示顺序")
    private Double sort;

    @Schema(description = "角色菜单关联关系")
    private List<PlatformRoleMenuQueryDto> platformRoleMenuQueryDtos;

    @Schema(description = "部门角色关联关系")
    private List<PlatformDeptRoleQueryDto> platformDeptRoleQueryDtos;

    @Schema(description = "创建者")
    private String createBy;

    @Schema(description = "创建时间")
    private Date createTime;

    @Schema(description = "更新者")
    private String updateBy;

    @Schema(description = "更新时间")
    private Date updateTime;

    @Schema(description = "控制台菜单ID")
    private String dashboardMenuId;

}
